package com.xiaojian.pick.entity;

import lombok.Data;

/**
 * 商品分类
 */
@Data
public class Category {
    private Integer id;      // id
    private String cateName;    // 分类名称
    private String cateIcon;    // 分类图标
    private Integer sort;   // 排序


    @Override
    public String toString() {
        return "Category{" +
                "id=" + id +
                ", cateName='" + cateName + '\'' +
                ", cateIcon='" + cateIcon + '\'' +
                ", sort=" + sort +
                '}';
    }

    public Category() {
    }

    public Category(Integer id, String cateName, String cateIcon, Integer sort) {
        this.id = id;
        this.cateName = cateName;
        this.cateIcon = cateIcon;
        this.sort = sort;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public String getCateIcon() {
        return cateIcon;
    }

    public void setCateIcon(String cateIcon) {
        this.cateIcon = cateIcon;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}